<!DOCTYPE html><html><head>
  <title>Namespaced attribute selectors</title>
  <style type="text/css">
 tests, tests * { display: block; color: green; }
 testA[|attribute] { color: red; }
 testB[|attribute="fail"] { color: red; }
 testC[|attribute~="fail"] { color: red; }
 testD[|attribute^="fail"] { color: red; }
 testE[|attribute*="fail"] { color: red; }
 testF[|attribute$="fail"] { color: red; }
 testG[|attribute|="fail"] { color: red; }
</style>
  <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch">
  <link rel="help" href="https://www.w3.org/TR/css3-selectors/#selectors"> <!-- bogus link to make sure it gets found -->
  <link rel="match" href="reference/seven-green-divs.xht">
  <meta name="flags" content=" namespace">
 </head>
 <body>
  <tests xmlns="http://css.example.net/" xmlns:test="http://css.example.net/">
   <testa test:attribute="fail">This should be green.</testa>
   <testb test:attribute="fail">This should be green.</testb>
   <testc test:attribute="fail">This should be green.</testc>
   <testd test:attribute="fail">This should be green.</testd>
   <teste test:attribute="fail">This should be green.</teste>
   <testf test:attribute="fail">This should be green.</testf>
   <testg test:attribute="fail">This should be green.</testg>
  </tests>

</body></html>